package com.kitty.game.function.model;

import com.kitty.game.utils.Const;

public enum FunctionType {
    /**背包功能*/
    BAG_BUTTON(1, 0, Const.ICON_TYPE_MAIN),
    /**隐藏菜单*/
    HIDE_BUTTON(2, 0, Const.ICON_TYPE_MAIN),
    /**帮派*/
    PARTY_BUTTON(3, 25, Const.ICON_TYPE_MAIN),
    /**打造*/
    FORGE_BUTTON(4, 35, Const.ICON_TYPE_MAIN),
    /**守护*/
    GUARD_BUTTON(5, 14, Const.ICON_TYPE_MAIN),
    /**系统*/
    SYSTEM_BUTTON(6, 0, Const.ICON_TYPE_MAIN),
    /**好友*/
    FRIEND_BUTTON(7, 0, Const.ICON_TYPE_MAIN),
    /**世界地图*/
    WORLD_MAP_BUTTON(8, 0, Const.ICON_TYPE_MAIN),
    /**小地图*/
    SMALL_MAP_BUTTON(9, 0, Const.ICON_TYPE_MAIN),
    /**排行榜*/
    RANKING_LIST_BUTTON(10, 25, Const.ICON_TYPE_MAIN),
    /**商场*/
    MALL_BUTTON(11, 0, Const.ICON_TYPE_MAIN),
    /**交易*/
    TRADE_BUTTON(12, 0, Const.ICON_TYPE_MAIN),
    /**集市*/
    MARKET_BUTTON(13, 0, Const.ICON_TYPE_MAIN),
    /**珍宝*/
    TREASURE_BUTTON(14, 0, Const.ICON_TYPE_MAIN),
    /**福利*/
    GIFTS_BUTTON(15, 0, Const.ICON_TYPE_MAIN),
    /**巡逻*/
    LIANGGONG_BUTTON(16, 20, Const.ICON_TYPE_MAIN),
    /**刷道*/
    SHUADAO_BUTTON(17, 45, Const.ICON_TYPE_MAIN),
    /**活动*/
    ACTIVITY_BUTTON(18, 15, Const.ICON_TYPE_MAIN),
    /**首饰*/
    JEWELRY_BUTTON(19, 35, Const.ICON_TYPE_MAIN),
    /**装备*/
    EQUIP_BUTTON(20, 40, Const.ICON_TYPE_MAIN),
    /**法宝*/
    ARTIFACT_BUTTON(21, 70, Const.ICON_TYPE_MAIN),
    /**观战中心*/
    WATCH_CENTER_BUTTON(22, -1, Const.ICON_TYPE_MAIN),
    /**周年庆*/
    ANNIVERSARY_BUTTON(23, -1, Const.ICON_TYPE_MAIN),
    /**QQ合作*/
    QQ_BUTTON(24, -1, Const.ICON_TYPE_MAIN),
    /**居所*/
    HOME_BUTTON(25, 75, Const.ICON_TYPE_MAIN),
    /**提升*/
    PROMOTE_BUTTON(26, 0, Const.ICON_TYPE_MAIN),
    /**成就*/
    ACHIEVEMENT_BUTTON(27, 0, Const.ICON_TYPE_MAIN),

    /*社区*/
    CommunityButton(30, 20, Const.ICON_TYPE_MAIN),




    /*魂器*/
    HorcruxButton(37, 75, Const.ICON_TYPE_MAIN2),
    /*荣耀*/
    GloryButton(41, 0, Const.ICON_TYPE_MAIN2),
    /*领取*/
    RightButton(42, -1, Const.ICON_TYPE_MAIN2),

    /*秘境*/
    MiJingButton(44, 0, Const.ICON_TYPE_MAIN2),

    /*附灵*/
    SpiritButton(47, 0, Const.ICON_TYPE_MAIN2),
    /*天宫*/
    TianGongButton(49, 80, Const.ICON_TYPE_MAIN2),
    /*成长秘籍*/
    BattlePassButton(10001, 0, Const.ICON_TYPE_MAIN2),








    /**技能*/
    SKILL_BUTTON(36, 10, Const.ICON_TYPE_TAB),
    /**宠物属性*/
    PET_ATTRIB_BUTTON(37, 0, Const.ICON_TYPE_TAB),
    /**宠物技能*/
    PET_SKILL_BUTTON(38, 0, Const.ICON_TYPE_TAB),
    /**宠物加点*/
    PET_GET_ATTRIB_BUTTON(39, 0, Const.ICON_TYPE_TAB),
    /**宠物图鉴*/
    PET_HANDBOOK_BUTTON(40, 0, Const.ICON_TYPE_TAB),
    /**装备拆分*/
    EQUIPMENT_SPLIT_BUTTON(41, 35, Const.ICON_TYPE_TAB),
    /**装备改造*/
    EQUIPMENT_UPGRADE_BUTTON(42, 35, Const.ICON_TYPE_TAB),
    /**装备炼化*/
    EQUIPMENT_REFINING_BUTTON(43, 35, Const.ICON_TYPE_TAB),
    /**套装*/
    EQUIPMENT_SUIT_BUTTON(44, 70, Const.ICON_TYPE_TAB),
    /**装备进化*/
    EQUIPMENT_EVOLVE_BUTTON(45, 70, Const.ICON_TYPE_TAB),
    /**守护属性*/
    GUARD_ATTRIB_BUTTON(46, -1, Const.ICON_TYPE_TAB),
    /**法宝洗练*/
    ARTIFACT_REFINE_BUTTON(47, 70, Const.ICON_TYPE_TAB),
    /**法宝特技*/
    ARTIFACT_SKILL_UP_BUTTON(48, 70, Const.ICON_TYPE_TAB),

    /**地府按钮*/
    DIFU_BUTTON(50, 0, Const.ICON_TYPE_TAB),

    /**魂魄*/
    SHENHUN_BUTTON(52, 0, Const.ICON_TYPE_TAB),
    HUNPO_BUTTON(53, 0, Const.ICON_TYPE_TAB),
    WUHUN_BUTTON(54, 0, Const.ICON_TYPE_TAB),
    ZHENYIN_BUTTON(55, 0, Const.ICON_TYPE_TAB),
    ;

    /**功能编号，对应客户端定义的编号*/
    private short functionId;
    /**开启等级 0表示默认开启，大于0表示按等级开启，小于0表示按其他条件开启*/
    private short openLevel;
    /**icon类型*/
    private byte iconType;

    FunctionType(int functionId, int openLevel, byte iconType) {
        this.functionId = (short)functionId;
        this.openLevel = (short)openLevel;
        this.iconType = iconType;
    }

    public short getFunctionId() {
        return functionId;
    }

    public short getOpenLevel() {
        return openLevel;
    }

    public byte getIconType() {
        return iconType;
    }
}
